#list
l=[1,2,3]
print(1 in l)
l.append(22)
l.append(22)
print(l)
print(l.count(22))
del l[0]
print(l)
ll=tuple(l)
print(ll)

# tuple     can't modify
tuple1=(2,3,4,4)
print(list(tuple1))
print(tuple1.count(4))


#dictionary    as map
d = {}
d["1"] = "one"
d["2"] = "two"
d["3"] = "three"

del d["3"]

for key, value in d.items():
    print "%s --> %s" % (key, value)
